<template>
  <transition name="slide">
    <div class="wrapper">
      Left页
    </div>
  </transition>
</template>

<script>
export default {
  data () {
    return {
      name: 'singgle'
    }
  }
}
</script>

<style scoped>
.slide-enter-active,
.slide-leave-active {
  transition: all 0.6s ease;
}
.slide-enter,
.slide-leave-to {
  opacity: 0;
  transform: translateX(100%);
}
.wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: royalblue;
}
</style>
